package def

type MqClient interface {
	Publish(topic string, payload []byte)
	Start()
	Stop()
}

type GpsV4 struct {
	Sn        string
	Sw        uint16
	Gsm       uint8
	Voltage   uint32
	Timestamp uint32
	Long      float32
	Lat       float32
	Speed     uint8
	Course    uint16
	Hdop      float32
	Satellite uint8
}
